
<th:block  th:if="${isHaveResources}==1">
    <th:block th:each="res3 : ${resources}" >
        <a th:href="'/couInfo/couInfo/trainingResourcesDetails?id='+${chapter_id}+'&resourceId='+${res3.id}+'&rindex='+${res3.rindex}+'&type=&t='" target="_blank">
            <th:block  th:if="${res3.type}==0">
                <i class="iconfont icon-wendang" aria-hidden="true" style="margin-right: 30px;color: #f68859;font-size: 20px;"></i>
            </th:block>
            <th:block  th:if="${res3.type}==1">
                <i class="iconfont icon-icon-test" aria-hidden="true" style="margin-right: 30px;color: #f68859;font-size: 20px;"></i>
            </th:block>
            <th:block  th:if="${res3.type}==2">
                <i class="iconfont icon-ppt" aria-hidden="true" style="margin-right: 30px;color: #f68859;font-size: 20px;"></i>
            </th:block>
            <th:block  th:if="${res3.type}==3">
                <i class="layui-icon layui-icon-file" aria-hidden="true" style="margin-right: 30px"></i>
            </th:block>
            <th:block  th:if="${res3.type}==4">
                <i class="iconfont icon-icon-test1" aria-hidden="true" style="margin-right: 30px;color: #f68859;font-size: 20px;"></i>
            </th:block>
            <th:block  th:if="${res3.type}==5">
                <i class="iconfont icon-icon-test" aria-hidden="true" style="margin-right: 30px;color: #f68859;font-size: 20px;"></i>
            </th:block>
        </a>
    </th:block>
</th:block>
